const getters = {
  // user
  token: state => state.user.token,
  info: state => state.user.info,

  // menu
  group: state => state.menu.group,
  topbar: state => state.menu.topbar,
  menu: state => state.menu.menu,
  permission: state => state.menu.permission,
  collapse: state => state.menu.collapse,

  language: state => state.app.language,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  authorities: state => state.user.authorities,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs
}
export default getters
